networking.wireguard.interfaces.<name>.socketNamespace
The pre-existing network namespace in which the
WireGuard interface is created, and which retains the socket even if the
interface is moved via interfaceNamespace. When
null, the interface is created in the init namespace.
See documentation.
- Type
null or string- Default
null- Example
"container"- Declared
- <nixpkgs/nixos/modules/services/networking/wireguard.nix>